﻿using System;
using System.ComponentModel;
using System.IO;

namespace ProjectEuler.Problems
{
    [EulerProblem(67, 7273)]
    [Description("Using an efficient algorithm find the maximal sum in the triangle?")]
    internal sealed class Problem067 : EulerProblem
    {
        public override Object Solve()
        {
            using (var reader = OpenTextAttachment())
            {
                return new NumberTriangle(reader).MaxSum();
            }
        }
    }
}
